
def fab(max):
	n,a,b=0,0,1
	while n<max:
		yield b
		a,b=b,a+b
		n+=1
max=int(input("a num:\n"))
for i in fab(max):
	print(i)





